package routers

import "leading/api"

func (router RouterGroup) FileRouter() {
	fileApi := api.ApiGroupApp.FileApi
	router.POST("/upload", fileApi.Upload)
	router.POST("/rename", fileApi.RenameFile)
	router.POST("/list", fileApi.GetList)
	router.POST("/search", fileApi.DoSearch)
	router.POST("/delete", fileApi.DoDelete)
}
